package com.spring.soundsystem.SpringAOP;

public class UserServiceImpl implements UserService {
    @Override
    public void sayHello(String username) {
        System.out.println("Hello " + username);
    }

    @Override
    public void addUser(String userName, String password) {
        System.out.println("Add success");
    }

    @Override
    public String getUserId(Integer id) {
        System.out.println("userId="+id);
        return String.valueOf(id);
    }

    @Override
    public void sayBey(String username) {
        System.out.println("ByeBye "+username);
    }
}
